package pacman.objects;

import java.awt.Color;
import java.awt.Graphics;

/**
 * THis class represents the LuBu character
 * @author Carlos Massera Filho
 */
public class LuBu extends Moveable
{
  private Color ghostColor;
  private boolean withFood;
  private final float headingPosition;

  /**
   * Creates the character as visible and alive in pos (X,Y)
   * @param posX
   * @param posY
   * @param headingPosition
   */
  public LuBu(float posX, float posY, float headingPosition)
  {
    this.health = 25;
    this.maxHealth = 25;
    this.visible = true;

    this.dead = false;
    this.withFood = false;

    this.posX = posX;
    this.posY = posY;
    this.speed = (float)2.0;
    this.headingPosition = headingPosition;

    //Insert color
  }

  /**
   * run the inteligence for the lubu character
   */
  public void runIA()
  {

  }

  /**
   * Interprets the ia matrix to run toward the pacman
   * @return true if it was able to walk false otherwise
   */
  public boolean isWithFood()
  {
    return this.withFood;
  }

  /**
   * Function to deal damage to lubu
   * @param hit Damage dealt to lubu
   */
  public void render(Graphics g)
  {
    System.out.print("L");
  }
}
